package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author gsl
 * @since 2020-10-20
 */
@TableName("ORDER_SERVICE_STORAGE")
public class OrderServiceStorage extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 仓储服务订单编号
     */
    @TableId("OSS_ID")
    private String ossId;

    /**
     * 仓储服务订单名称
     */
    @TableField("OSS_NAME")
    private String ossName;

    /**
     * 实物订单编号
     */
    @TableField("ORDER_ID")
    private String orderId;

    /**
     * 订单状态
     */
    @TableField("OSS_STATE")
    private String ossState;

    /**
     * 订单状态
     */
    @TableField(exist = false)
    private String ossStateLabel;

    /**
     * 店铺ID
     */
    @TableField("OSS_SHOP_ID")
    private String ossShopId;

    /**
     * 预计订单服务金额
     */
    @TableField("OSS_ESTIMATE_MONEY")
    private BigDecimal ossEstimateMoney;

    /**
     * 订单服务金额
     */
    @TableField("OSS_MONEY")
    private BigDecimal ossMoney;

    /**
     * 服务类型
     */
    @TableField("OSS_STORAGE_TYPE")
    private String ossStorageType;

    /**
     * 服务单位
     */
    @TableField("OSS_SERVICE_UNIT")
    private String ossServiceUnit;

    /**
     * 库点编号
     */
    @TableField("OSS_SA_DBID")
    private String ossSaDbid;

    /**
     * 仓储服务地址
     */
    @TableField("OSS_SERVICE_ADDRESS")
    private String ossServiceAddress;

    /**
     * 仓储服务天数
     */
    @TableField("OSS_SERVICE_DAYS")
    private String ossServiceDays;

    /**
     * 仓储联系人
     */
    @TableField("OSS_CONTACTS_MAN")
    private String ossContactsMan;

    /**
     * 联系方式
     */
    @TableField("OSS_CONTACTS_MAN_PHONE")
    private String ossContactsManPhone;

    /**
     * 下单用户ID
     */
    @TableField("CREATE_USER_ID")
    private String createUserId;

    /**
     * 订单创建人
     */
    @TableField("CREATE_USER")
    private String createUser;

    /**
     * 联系方式
     */
    @TableField("CREATE_USER_PHONE")
    private String createUserPhone;

    /**
     * 订单创建时间
     */
    @TableField("CREATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 应收服务金额
     */
    @TableField("OSS_COLLECT_SERVICE_MONEY")
    private BigDecimal ossCollectServiceMoney;

    /**
     * 应付服务金额
     */
    @TableField("OSS_PAY_SERVICE_MONEY")
    private BigDecimal ossPayServiceMoney;

    /**
     * 实收服务金额
     */
    @TableField("OSS_COLLECT_SERVICE_MONEY_REAL")
    private BigDecimal ossCollectServiceMoneyReal;

    /**
     * 实付服务金额
     */
    @TableField("OSS_PAY_SERVICE_MONEY_REAL")
    private BigDecimal ossPayServiceMoneyReal;

    /**
     * 修改人
     */
    @TableField("UPDATE_USER")
    private String updateUser;

    /**
     * 修改时间
     */
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 审批人
     */
    @TableField("APPROVE_USER")
    private String approveUser;

    /**
     * 审批时间
     */
    @TableField("APPROVE_TIME")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date approveTime;

    /**
     * 审核状态
     */
    @TableField("APPROVE_STATUS")
    private String approveStatus;

    /**
     * 机构代码
     */
    @TableField("ORG_CODE")
    private String orgCode;

    public String getOssId() {
        return ossId;
    }

    public void setOssId(String ossId) {
        this.ossId = ossId;
    }
    public String getOssName() {
        return ossName;
    }

    public void setOssName(String ossName) {
        this.ossName = ossName;
    }
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
    public String getOssState() {
        return ossState;
    }

    public String getOssStateLabel() {
        return ossStateLabel;
    }

    @Override
    public String toString() {
        return "OrderServiceStorage{" +
                "ossId='" + ossId + '\'' +
                ", ossName='" + ossName + '\'' +
                ", orderId='" + orderId + '\'' +
                ", ossState='" + ossState + '\'' +
                ", ossStateLabel='" + ossStateLabel + '\'' +
                ", ossShopId='" + ossShopId + '\'' +
                ", ossEstimateMoney=" + ossEstimateMoney +
                ", ossMoney=" + ossMoney +
                ", ossStorageType='" + ossStorageType + '\'' +
                ", ossServiceUnit='" + ossServiceUnit + '\'' +
                ", ossSaDbid='" + ossSaDbid + '\'' +
                ", ossServiceAddress='" + ossServiceAddress + '\'' +
                ", ossServiceDays='" + ossServiceDays + '\'' +
                ", ossContactsMan='" + ossContactsMan + '\'' +
                ", ossContactsManPhone='" + ossContactsManPhone + '\'' +
                ", createUserId='" + createUserId + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createUserPhone='" + createUserPhone + '\'' +
                ", createTime=" + createTime +
                ", ossCollectServiceMoney=" + ossCollectServiceMoney +
                ", ossPayServiceMoney=" + ossPayServiceMoney +
                ", ossCollectServiceMoneyReal=" + ossCollectServiceMoneyReal +
                ", ossPayServiceMoneyReal=" + ossPayServiceMoneyReal +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", approveUser='" + approveUser + '\'' +
                ", approveTime=" + approveTime +
                ", approveStatus='" + approveStatus + '\'' +
                ", orgCode='" + orgCode + '\'' +
                '}';
    }

    public void setOssStateLabel(String ossStateLabel) {
        this.ossStateLabel = ossStateLabel;
    }

    public void setOssState(String ossState) {
        this.ossState = ossState;
    }
    public String getOssShopId() {
        return ossShopId;
    }

    public void setOssShopId(String ossShopId) {
        this.ossShopId = ossShopId;
    }
    public BigDecimal getOssEstimateMoney() {
        return ossEstimateMoney;
    }

    public void setOssEstimateMoney(BigDecimal ossEstimateMoney) {
        this.ossEstimateMoney = ossEstimateMoney;
    }
    public BigDecimal getOssMoney() {
        return ossMoney;
    }

    public void setOssMoney(BigDecimal ossMoney) {
        this.ossMoney = ossMoney;
    }
    public String getOssStorageType() {
        return ossStorageType;
    }

    public void setOssStorageType(String ossStorageType) {
        this.ossStorageType = ossStorageType;
    }
    public String getOssServiceUnit() {
        return ossServiceUnit;
    }

    public void setOssServiceUnit(String ossServiceUnit) {
        this.ossServiceUnit = ossServiceUnit;
    }
    public String getOssSaDbid() {
        return ossSaDbid;
    }

    public void setOssSaDbid(String ossSaDbid) {
        this.ossSaDbid = ossSaDbid;
    }
    public String getOssServiceAddress() {
        return ossServiceAddress;
    }

    public void setOssServiceAddress(String ossServiceAddress) {
        this.ossServiceAddress = ossServiceAddress;
    }
    public String getOssServiceDays() {
        return ossServiceDays;
    }

    public void setOssServiceDays(String ossServiceDays) {
        this.ossServiceDays = ossServiceDays;
    }
    public String getOssContactsMan() {
        return ossContactsMan;
    }

    public void setOssContactsMan(String ossContactsMan) {
        this.ossContactsMan = ossContactsMan;
    }
    public String getOssContactsManPhone() {
        return ossContactsManPhone;
    }

    public void setOssContactsManPhone(String ossContactsManPhone) {
        this.ossContactsManPhone = ossContactsManPhone;
    }
    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public String getCreateUserPhone() {
        return createUserPhone;
    }

    public void setCreateUserPhone(String createUserPhone) {
        this.createUserPhone = createUserPhone;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public BigDecimal getOssCollectServiceMoney() {
        return ossCollectServiceMoney;
    }

    public void setOssCollectServiceMoney(BigDecimal ossCollectServiceMoney) {
        this.ossCollectServiceMoney = ossCollectServiceMoney;
    }
    public BigDecimal getOssPayServiceMoney() {
        return ossPayServiceMoney;
    }

    public void setOssPayServiceMoney(BigDecimal ossPayServiceMoney) {
        this.ossPayServiceMoney = ossPayServiceMoney;
    }
    public BigDecimal getOssCollectServiceMoneyReal() {
        return ossCollectServiceMoneyReal;
    }

    public void setOssCollectServiceMoneyReal(BigDecimal ossCollectServiceMoneyReal) {
        this.ossCollectServiceMoneyReal = ossCollectServiceMoneyReal;
    }
    public BigDecimal getOssPayServiceMoneyReal() {
        return ossPayServiceMoneyReal;
    }

    public void setOssPayServiceMoneyReal(BigDecimal ossPayServiceMoneyReal) {
        this.ossPayServiceMoneyReal = ossPayServiceMoneyReal;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getApproveUser() {
        return approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }
    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }
    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }
    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

}
